<template>
  <div>
    <h1>嵌套路由，大组件里面有小组件，小组件在切换</h1>
    <p>我是外层的组件，我不会变化</p>
    <router-link to="/big/small1" tag="button">看看1</router-link>
    <router-link to="/big/small2" tag="button">看看2</router-link>
    <hr>
    <!-- 记得写路由出口！！ -->
    <router-view></router-view>
    <hr>
    <p>我是外层的组件，我不会变化，啦啦啦</p>
  </div>
</template>
<script>
export default {
  
}
</script>
<style lang="">
  
</style>